# coding:utf-8

from bson import ObjectId
import tornado
from tornado import gen
from tornado.web import HTTPError

from handler.api import errors
from handler.api.base import BaseHandler
# from data.collections import User, School
#from util.token import token_manager


class RegisterHandler(BaseHandler):
    def data_received(self, chunk):
        pass

    def post(self):
        pass

    def get(self):
        data_json = {"name":"weiwei","age":"33"}
        self.write_json(data_json)


class SchoolsHandler(BaseHandler):
    def data_received(self, chunk):
        pass

    # 这里返回pyecharts的拆线图
    def get(self):
        data_json = {"name":"weiwei","age":"31113"}
        self.write_json(data_json)

